#ifndef FENOPTION_H
#define FENOPTION_H

#include <QDialog>
#include "ui_fenoption.h"
#include <QStringListModel>
#include <QMessageBox>
#include "listeeleve.h"
#include "gunioption.h"
#include "listeprof.h"

namespace Ui {
    class FenOption;
}

class FenOption : public QDialog,public Ui::FenOption
{
    Q_OBJECT

public:
    explicit FenOption(ListeProf listeProf, GuniOption options, QStringList listeInstru, QWidget *parent = 0);
    ~FenOption();
signals:
    void TransmetListeInstru(QStringList);
    void TransmetOptions(GuniOption);

public slots:
    void receptionListeInstru(QStringList);
    void receptionListeProf(ListeProf);
    void receptionOptions(GuniOption);
    void AjouterInstru();
    void BtnOK();

private:
    Ui::FenOption *ui;
    QStringListModel *modele;
    GuniOption mesOptions;
    ListeProf maListeProf;
};

#endif // FENOPTION_H
